home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / AccessiblePlatform.java < prev    next >
Text File  |  1998-10-07  |  2KB  |  86 lines

  1. package com.symantec.itools.lang;
  2.  
  3.  
  4. import java.io.IOException;
  5. import com.symantec.itools.util.Properties;
  6.  
  7.  
  8. /**
  9.  * @author Symantec Internet Tools Division
  10.  * @version 1.0
  11.  * @since VCafe 3.0
  12.  * @see com.symantec.itools.util.Properties
  13.  */
  14.  
  15. public class AccessiblePlatform
  16.     extends Platform
  17. {
  18.     /**
  19.      * @since VCafe 3.0
  20.      */
  21.     protected AccessiblePlatform()
  22.     {
  23.         throw new IllegalInstantiationError(AccessiblePlatform.class);
  24.     }
  25.  
  26.     /**
  27.      * Returns the name of the OS.
  28.      * @return The String value of the osName or null if it is unknown.
  29.      * @since VCafe 3.0
  30.      */
  31.     public static String getOSName()
  32.     {
  33.         return (osName);
  34.     }
  35.     
  36.     /**
  37.      * Returns the type of the OS.
  38.      * @return the String value of the osType or null if it is unknown.
  39.      * @since VCafe 3.0
  40.      *
  41.      */
  42.     public static String getOSType()
  43.     {
  44.         return (osType);
  45.     }
  46.  
  47.     /**
  48.      * Returns the version of the OS.
  49.      * @return The String value of the osName or null if it is unknown.
  50.      * @since VCafe 3.0
  51.      */
  52.     public static String getOSVersion()
  53.     {
  54.         return (osVersion);
  55.     }
  56.  
  57.     /**
  58.      * Returns the Java version.
  59.      * @return The String value of the javaVersion or null if it is unknown.
  60.      * @since VCafe 3.0
  61.      */
  62.     public static String getJavaVersion()
  63.     {
  64.         return (javaVersion);
  65.     }
  66.  
  67.     /**
  68.      * Returns the Java vendor.
  69.      * @return The String value of the javaVendor or null if it is unknown.
  70.      * @since VCafe 3.0
  71.      */
  72.     public static String getJavaVendor()
  73.     {
  74.         return (javaVendor);
  75.     }
  76.  
  77.     /**
  78.      * Returns the machine architectire.
  79.      * @return The String value of the architecture or null if it is unknown.
  80.      * @since VCafe 3.0
  81.      */
  82.     public static String getArchitecture()
  83.     {
  84.         return (architecture);
  85.     }
  86. }